<?php /* Smarty version 2.6.19, created on 2010-10-26 15:00:43
         compiled from book_history_inc.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'urlpro', 'book_history_inc.html', 5, false),array('modifier', 'cutstr', 'book_history_inc.html', 5, false),array('modifier', 'showpic', 'book_history_inc.html', 10, false),array('modifier', 'number_format', 'book_history_inc.html', 12, false),)), $this); ?>
<?php if ($this->_tpl_vars['pcount'] != '0'): ?>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['hisrs']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td id="xgq1ld<?php echo $this->_sections['i']['rownum']; ?>
" valign="top"    style="padding-left:10px;border-bottom:dotted 1px #CCC;" onmouseover="javascript:mouseOver(this,'xgq1ld','xgq1ld_xq','<?php echo $this->_sections['i']['rownum']; ?>
');"><a href="<?php echo ((is_array($_tmp='book_show')) ? $this->_run_mod_handler('urlpro', true, $_tmp, $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['rootid']) : smarty_modifier_urlpro($_tmp, $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['rootid'])); ?>
" target="_blank" ><?php echo $this->_sections['i']['rownum']; ?>
.<?php echo ((is_array($_tmp=$this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['topicname'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 12) : smarty_modifier_cutstr($_tmp, 12)); ?>
</a></td>
  </tr>
  <tr>
    <td align="center" valign="top" bgcolor="#ebebeb"  id="xgq1ld_xq<?php echo $this->_sections['i']['rownum']; ?>
" style="display:none" ><table width="100%" border="0" cellpadding="1" cellspacing="1">
        <tr>
          <td width="75" align="center"><a href="<?php echo ((is_array($_tmp='book_show')) ? $this->_run_mod_handler('urlpro', true, $_tmp, $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['rootid']) : smarty_modifier_urlpro($_tmp, $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['rootid'])); ?>
" target="_blank" ><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['pic'])) ? $this->_run_mod_handler('showpic', true, $_tmp) : smarty_modifier_showpic($_tmp)); ?>
" width="56" height="72" style=" border:solid 1px #CCC; padding:3px;" /></a></td>
          <td align="left" valign="middle"><a href="<?php echo ((is_array($_tmp='book_show')) ? $this->_run_mod_handler('urlpro', true, $_tmp, $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['rootid']) : smarty_modifier_urlpro($_tmp, $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['id'], $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['rootid'])); ?>
" target="_blank" ><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['topicname'])) ? $this->_run_mod_handler('cutstr', true, $_tmp, 12) : smarty_modifier_cutstr($_tmp, 12)); ?>
</strong></a><br />        
            <span  ><?php echo $this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['a1']; ?>
</span><br /> <span  style="color:#C60"><?php echo ((is_array($_tmp=$this->_tpl_vars['hisrs'][$this->_sections['i']['index']]['price_m'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : number_format($_tmp, 2)); ?>

         </span> Z币</td>
        </tr>

    </table></td>
  </tr>
</table>
<?php endfor; endif; ?><?php else: ?>
<span style="text-align:center">您还没浏览商品</span>
<?php endif; ?>